﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace WCFMINERP.Contracts.DataContracts
{
    [DataContract]
    public  class OrderInfo
    {
        [DataMember]
        public int OrderProductId { get; set; }
             

        [DataMember]
        public string OrderProductName { get; set; }

        [DataMember]
        public int ProductId { get; set; }

        [DataMember]
        public string CtmName { get; set; }

        [DataMember]
        public DateTime CompleteTime { get; set; }

        [DataMember]
        public int Status { get; set; }

        [DataMember]
        public string OrderPath { get; set; }

        [DataMember]
        public string OrilOrderPath { get; set; }

        [DataMember]
        public float Width { get; set; }

        [DataMember]
        public float Height { get; set; }

        [DataMember]
        public int productNum { get; set; }

        [DataMember]
        public int PageNum { get; set; }

        [DataMember]
        public decimal PrePriceCount { get; set; }

        [DataMember]
        public int Priority { get; set; }

        [DataMember]
        public string Remark { get; set; }

        [DataMember]
        public string CurrentTech { get; set; }



        #region 2016-7-6  xz

        [DataMember]
        public int OrderBagId { get; set; }


        [DataMember]
        public string OrderProductCode { get; set; }

        [DataMember]
        public bool IsEdit { get; set; }
          [DataMember]
        public int ParentProductId { get; set; }
          [DataMember]
        public int ProductType { get; set; }
          [DataMember]
        public int isCount { get; set; }
          [DataMember]
        public double Area { get; set; }
          [DataMember]
        public int SinglePageNum { get; set; }
          [DataMember]
        public int MultiPageNum { get; set; }
          [DataMember]
        public int OrderType { get; set; }
          [DataMember]
        public string ComputerName { get; set; }
          [DataMember]
        public int OrilNum { get; set; }

         [DataMember]
          public int photoCount { get; set; }

        /// <summary>
        /// 是否提交成功
        /// </summary>
        [DataMember]
          public bool Commit { get; set; }

        [DataMember]
          public ProductInfo prodinfo { get; set; }

        [DataMember]
        public OrderBagInfo orderBagInfo { get; set; }

        [DataMember]
        public DateTime FacthTime { get; set; }


        /// <summary>
        /// StartProductTime.AddHours(TimeSpan)
        /// </summary>
        [DataMember]
        public DateTime PreCompleteDateTime { get; set; }


        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public int TimeSpan { get; set; }

        [DataMember]
        public DateTime StartProductTime { get; set; }

        [DataMember]
        public string strStatus{get;set;}

        /// <summary>
        /// 订单条码
        /// </summary>
        [DataMember]
        
        public string BagCode { get; set; }
        /// <summary>
        /// 订单名称
        /// </summary>
        [DataMember]
        public string BagName { get; set; }

        [DataMember]
        public string ShopName { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductCode { get; set; }

        /// <summary>
        /// 取件时间
        /// </summary>
        public DateTime OrderFetchTime { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string oiStatus
        {
            get;
            set;
        }

        /// <summary>
        /// 是否在格子里面
        /// </summary>
        public string WhetherIn
        {
            get;
            set;
        }

        public bool IsPrint { get; set; }

        #endregion

    }
}
